DIRTOBUILD = ../bin/

all: echoUDP clientUDP fifoSession regServer

clientUDP: clientUDP.c
	${CC} -o ${DIRTOBUILD}$@ $< ../src/MemObj/dynArray.c -I../src/MemObj/

echoUDP: echoUDP.c
	${CC} -o ${DIRTOBUILD}$@ $<

fifoSession: fifoSession.c
	${CC} -o ${DIRTOBUILD}$@ $< ../src/RscHost/fifo/interfacefifo.c -I../src/RscHost/fifo/
	
regServer: regServer.c
	${CC} -o ${DIRTOBUILD}$@ $< ../src/MemObj/dynArray.c ../src/MemObj/userparam.c -I../src/MemObj/	
	
clean:
	rm * ${DIRTOBUILD}